const randomString = len => {
	len = len || 32
	const $chars = 'ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz2345678' /****默认去掉了容易混淆的字符 oOLl,9gq,Vv,Uu,I1****/
	const maxPos = $chars.length
	let pwd = ''
	for (let i = 0; i < len; i++) {
		pwd += $chars.charAt(Math.floor(Math.random() * maxPos))
	}

	return pwd
}
const myRandom = len => {
	return Date.parse(new Date()) + randomString(len); /****时间戳加随机字符****/
}
export default myRandom
